<?php

namespace Agp\CoreBundle;

use Symfony\Component\HttpKernel\Bundle\Bundle;
use Doctrine\DBAL\Types\Type;

class AgpCoreBundle extends Bundle
{
    public function boot() {
        parent::boot();
        if(!Type::hasType('set')) {
             Type::addType('set', "Agp\CoreBundle\Type\SetType");  
        }
        
        if(!Type::hasType('timestamp')) {
             Type::addType('timestamp', "Agp\CoreBundle\Type\TimestampType");  
        }
    }
}
